package com.lw.system.service;

import com.github.pagehelper.PageInfo;
import com.lw.common.core.service.BaseServiceI;
import com.lw.system.model.Role;

public interface RoleService extends BaseServiceI<Role, String> {
	public int add(Role role);

	public int remove(String id);

	public int edit(Role role);

	public PageInfo<Role> findRoleAndResources(Role role,int pageNum,int pageSize);

	public int editMenu(Role role);

	public String getMenuIdsByPrimaryKey(String roleId);


}
